GtkStackSwitcher: Make the buttons fill vertically
authorYosef Or Boczko <yoseforb@src.gnome.org>
Mon, 24 Nov 2014 17:09:02 +0000 (19:09 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 28 Nov 2014 04:21:35 +0000 (23:21 -0500)
It fix some cases with different height for the buttons,
like with Hebrew character.

https://bugzilla.gnome.org/show_bug.cgi?id=740642

gtk/gtkstackswitcher.c

index 42e683f5e29d733fada971075d4067734d87592e..a04dd671324917b6861396de1c510ead01123737 100644 (file)
@@ -101,8 +101,6 @@ rebuild_child (GtkWidget   *self,
   GtkStyleContext *context;
   GtkWidget *button_child;
 
-  gtk_widget_set_valign (GTK_WIDGET (self), GTK_ALIGN_CENTER);
-
   button_child = gtk_bin_get_child (GTK_BIN (self));
   if (button_child != NULL)
     gtk_widget_destroy (button_child);